<div id="prduct">
			<image src="<?php $pic = $this->picture_product_model->get_where(array('product_id'=>$product['id'], 'type_picture'=>'default'));
				echo $pic->num_rows() != 0 ? base_url().$pic->row()->picture : base_url('images/products/product.png');?>" /></td>
    
    <h1><?php echo $product['nama_product'];?></h1>
    
	<h3>Price : <?php echo 'RM '.number_format($product['harga_product'],2);?></h3>
    <p><h2>Product Description</h2>
		<?php echo $product['description'];?></p>
    <p><?php $hidden = array('product_id' => $product['id'],
		'product_name' => $product['nama_product'],
		'price' => $product['harga_product']);
	echo form_open();
			echo form_hidden($hidden);
			echo '<p>'.form_input(array('name' => 'quantity',
				'value' => set_value('quantity','1'),
				'id' => 'spinner',
				'size' => '3',
				'title' => 'Quantity')).' '.form_error('quantity').'</p>';
			echo '<p>'.form_submit('add', 'Add to cart').'</p<';
			echo form_close();?></td>
    </p>
</div>

<script>
$(function(){
	
	$(document).tooltip({track:true});
	//$( "#spinner" ).spinner({min : 1});
});
</script>